//
//  SecoundViewController.m
//  UI29_homeBlock
//
//  Created by dllo on 16/1/20.
//  Copyright © 2016年 Yuming. All rights reserved.
//

#import "SecoundViewController.h"
#import "ViewController.h"

@interface SecoundViewController ()

@property (weak, nonatomic) IBOutlet UITextField *textFile;



@end

@implementation SecoundViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
}


- (IBAction)handleButton:(id)sender {
    self.block(self.textFile.text);
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
